/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package exercises.day03.pt02;

import java.sql.*;

/**
 *
 * @author Student
 */
public class main {

    public static void main(String args[]) throws ClassNotFoundException, SQLException {


        //    Book me = new Book();
        Author au = new Author();


        //   AuthorDao dao = new AuthorDao();
        //   BookDao bookDao = new BookDao();

        //   for(Book book: bookDao.getBooksList())
        //  {
        //      System.out.println(book);
        //   }


        //a. A module which will allow users to add new authors to the database;
        //   au = new Author("au000", "name", 18, "country", "mail", "000-0000");

        //  AuthorDao dao = new AuthorDao();
        //  dao.addAuthor(au);


        //b. A module which will allow users to new books to the database;

        //  me = new Book("001", "title", "desc", "author", 78);
        //me.addBook();

        //c. A module which will retrieve all the book details from an author;
        //    me.getAuthorBook("Danniel Steller");


        //d. Delete a book from the BookDetails table;
        //    me.deleteBook("001");

        //e. Update a book’s author;
        //   me.updateBookAuthor("000", "aaa");


        //f. Update a book’s price;
        // me.updateBookPrice("000", 100);


        //g. List all flowers given a price range;

        //  Flowers f = new Flowers();

        //   f.ListFlowerRange(5, 30);


        //get all book for reference 
        // me.getBooksList();








    }
}
